package com.bookshop.service;

import com.bookshop.entity.Book;
import com.bookshop.entity.BookList;
import com.bookshop.entity.ClassifyList;
import com.bookshop.entity.SimpleClassify;
import com.bookshop.entity.request.SearchForm;

import java.util.HashMap;
import java.util.List;


/**
 * ClassName: BookService
 * Package: com.bookshop.service
 * Description:
 *
 * @Author BJX
 * @Create 2024/1/18 9:40
 * @Version 1.0
 */
public interface BookService {
    Book getBookById(long id);

    BookList searchBook(SearchForm s);

    //HashMap<String, List<Book>>  homeClassify(int classifyId);

    List<List<List<Book>>> homeClassify();

    List<ClassifyList> getClassify();

    List<List<SimpleClassify>> getSimpleClassify();
}
